<!--
 * @Descripttion:
 * @version:
 * @Author: zhuzm@linkstec.com
 * @Date: 2023-01-12 11:01:49
 * @LastEditors: sueRimn
 * @LastEditTime: 2023-02-02 14:37:33
-->
<template>
  <div class="FilterItem">
    <div class="label">
      <div>
        <span>{{ label }}</span>
      </div>
    </div>
    <div class="slot-item">
      <slot></slot>
    </div>
  </div>
</template>
<script>

export default {
  props: {
    label: {
      type: String,
      default: ''
    }
  },
  data () {
    return {

    };
  }
};
</script>
<style lang="scss" scoped>
.FilterItem{
  display: flex;
  .label{
    width: 102px;
    box-sizing: border-box;
    background: #F4F6FB;
    flex-shrink: 0;
    border-right: 1px dashed #D5D8DA;
    margin-right: 18px;
    div{
      width: 100%;
      height: 52px;
      display: flex;
      justify-content: center;
      align-items: center;
      span{
        font-weight: 400;
        font-size: 14px;
        color: #404040;
      }
    }
  }
  .slot-item{
    width:100%;
    display: flex;
    align-items: center;
  }
}
</style>
